<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="mstatic/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/jquery-ui.css"  type="text/css" rel="stylesheet">
<link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
<link  href="mstatic/css/zTreeStyle.css" type="text/css" rel="stylesheet">
<!--树状图-->

<title>通知-上级通知</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header" style=" width:100%;"> <a class="navbar-brand" href="javascript:history.go(-1);" style=" width:100%;  padding-right:0px;"> <span class="glyphicon glyphicon-arrow-left white"></span>
      <!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>-->
      <span class="white" style="margin-left:10%">通知审批</span> <span class="glyphicon glyphicon-user white" style="float:right"></span> </a> </div>
  </div>
  <!-- /.container-fluid -->
</nav>
<!--头部 end-->
<!--主体部分-->

<div class="container" style="margin-top:70px;"> 
  
  <!--<div class="row" style="margin-right:10%;">
    <div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="superior_notice_add2.html" style="width:30%">增加</a></div>
  </div>-->
  <div class="row" style="margin-top:10px;">
    <form name="myform" action="" method="get">	
      <div class="col-sm-12 distance hierarchy" >
        <div class="form-group hierarchy" >
          <label for="" class="col-sm-2 control-label">审批状态:</label>
          <div class="col-sm-10">
            <select class="form-control" name="is_show" style="padding:0;">
			<option value="">全部</option>
			{%foreach from=$show_lists key=key item=value%}
					<option value="{%$key%}"{%if $key == $is_show%}selected{%/if%}>{%$value%}</option>
						
			{%/foreach%}
			</select> 
          </div>
        </div>
      </div>
      <div class="col-xs-12 distance" >
      <div class="form-group  text-center" style="padding-top:0px;">
	  <input type="hidden" name="a" value="notice.checklist">
      <button type="submit" class="btn btn-success absolutely ">
      搜索
      </button>
      </div>
      </div>
    </form>
  </div>
  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
  {%foreach from=$notice_lists key=key item=value%}
    <table class="table table-striped table-bordered text-center"  id="middles">
      <tr>
        <td>标题</td>
        <td>{%$value.notice_title%}</td>
      </tr>
      <tr>
        <td>发布部门</td>
        <td>{%$value.department_name%}</td>
      </tr>
      <tr>
        <td>提交时间</td>
        <td>{%$value.create_time%}</td>
      </tr>
      <tr>
        <td>发布时间</td>
        <td>{%$value.start_time%}</td>
      </tr>
      <tr>
        <td>操作</td>
        <td >
			<a href="index.php?a=notice.checkupdate&notice_id={%$value.notice_id%}" 
			{%if $value.is_show=='未审核'%}class="btn btn-warning btn-xs"
			{%elseif $value.is_show=='通过'%}class="btn btn-success btn-xs"
			{%else $value.is_show=='未通过'%}class="btn btn-danger btn-xs"
			{%/if%}>
				{%$value.is_show%}
			</a>
	  </td>									
      </tr>
    </table>
  {%/foreach%}    	
  </div>
</div>
<!--container  end--> 

<!--主体部分  end--> 
{%include file="m.index.footer.tpl.php"%}